* (typically the toplevel, but other containers can be set as resize
* containers with gtk_container_set_resize_mode()), marks the container
* and all parents up to and including the resize container as needing
- * to have sizes recompted, and if necessary adds the resize container
+ * to have sizes recomputed, and if necessary adds the resize container
* to the queue of containers that will be resized out at idle.
*/
void
continue;
gdk_window_get_position (child_window, &wx, &wy);
- _gtk_widget_draw_windows (child_window, cr, wx,wy);
+ _gtk_widget_draw_windows (child_window, cr, wx, wy);
}
g_list_free (children);
}
NULL);
context = gtk_widget_get_style_context (priv->title_box);
gtk_style_context_add_class (context, "titlebar");
- gtk_widget_set_parent (priv->title_box, GTK_WIDGET (window));
+ gtk_widget_set_parent (priv->title_box, widget);
title = g_markup_printf_escaped ("<b>%s</b>",
priv->title ? priv->title : get_default_title ());
* If the configure request has not changed, we don't ever resend
* it, because it could mean fighting the user or window manager.
*
- *
* To prepare the configure request, we come up with a base size/pos:
* - the one from gtk_window_move()/gtk_window_resize()
* - else default_width, default_height if we haven't ever
* to postpone our configure request until later.
*/
info->last = saved_last_info;
-
- gtk_widget_queue_resize_no_redraw (widget); /* migth recurse for GTK_RESIZE_IMMEDIATE */
+ gtk_widget_queue_resize_no_redraw (widget); /* might recurse for GTK_RESIZE_IMMEDIATE */
}
return; /* Bail out, we didn't really process the move/resize */